@import "./bilibili-theme.scss";

// * 消息确认框
@mixin resMessageBox {
  .el-message-box__wrapper .d-message-box {
    .el-message-box__btns {
      .mes-cancel-btn {
        width: 56px;
        height: 32px;
        background-color: $main-btn-cancle-color;
        border-color: $main-btn-cancle-color;
        color: #fff;
        &:focus {
          background-color: $main-btn-cancle-color;
          border-color: $main-btn-cancle-color;
        }
        &:hover {
          background-color: $mian-btn-cancle-hover-color;
          border-color: $mian-btn-cancle-hover-color;
        }
      }
      .mes-confir-btn {
        width: 56px;
        height: 32px;
        background-color: $main-color !important;
        border-color: $main-color;
        color: #fff !important;
        padding: 0px;
        &:focus {
          background-color: #fff;
          border-color: $main-color;
          color: $main-color;
          outline: 0;
        }
        &:hover {
          color: #fff;
          border-color: $main-hover-color;
          background-color: $main-hover-color !important;
          outline: 0;
        }
      }
    }
    .el-message-box__headerbtn:focus .el-message-box__close,
    .el-message-box__headerbtn:hover .el-message-box__close {
      color: $main-hover-color;
    }
    .el-message-box__status.el-icon-warning {
      color: $main-color;
    }
  }
}

// * 面试详情样式
@mixin Interview-detail {
  .interview-common-detail {
    height: 100%;
    display: flex;
    flex-direction: row;
    .resume-detail-left {
      flex: none;
      width: 232px;
      margin-right: 20px;
    }
    .resume-detail-right {
      flex: 1;
      position: relative;
    }
    .interview-detail {
      height: 100%;
    }
    .module-box {
      display: none;
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }
    .module-box.is-active-tab {
      display: block;
    }
    .resume-container-demain {
      background-color: #fff;
      border-radius: 6px;
      padding: 20px;
    }
  }
}

// * 面试详情进展模块样式
@mixin Course-Detail {
  .inter-course-detail-box {
    height: auto;
    overflow: hidden;
    margin-bottom: 20px;
    .course-main-box {
      background-color: #fafafa;
      padding-left: 15px;
      padding-right: 15px;
      padding-top: 10px;
      padding-bottom: 15px;
      position: relative;
      .main-box-icon {
        position: absolute;
        top: 10px;
        left: -20px;
        font-size: 36px;
        color: #fafafa;
      }
    }
  }
  .course-detail-container {
    text-align: left;
    .detail-title {
      font-size: 14px;
      font-weight: bold;
      color: $main-color;
      width: 100%;
      height: 35px;
      line-height: 35px;
    }
    .sub-detail-title {
      margin-top: 10px;
      font-size: 14px;
      font-weight: bold;
      text-indent: 10px;
      line-height: 16px;
      color: $main-color;
      width: 100%;
      border-left: 4px solid $main-color;
    }
    .info-item {
      display: inline-block;
      font-size: 14px;
      color: #636363;
      text-align: left;
    }

    .info-item-flex {
      display: flex;
      p {
        flex: 1;
        height: auto;
        word-break: break-all;
      }
    }
    .resume-info-item-back {
      width: 100%;
    }
    .info-item-tip {
      width: 60px;
      height: 32px;
      line-height: 32px;
      text-align: left;
      float: left;
      font-size: 14px;
    }
    .sign {
      float: left;
      height: 32px;
      width: 10px;
      line-height: 32px;
    }
    .info-item-txt {
      float: left;
      height: 32px;
      line-height: 32px;
      font-size: 14px;
    }
    .resume-back-desc {
      height: auto;
      line-height: 19px;
      margin-top: 7px;
      width: 80%;
    }
    .course-sub-detail {
      // border: 1px solid #fcecd2;
      background-color: #ffe5ee;
      padding: 8px 15px;
      margin-top: 10px;
      .info-item-tip {
        width: 80px;
        height: 32px;
        line-height: 32px;
        text-align: left;
        float: left;
        font-size: 12px;
      }
    }
    .res-item-txt {
      width: 80%;
      line-height: 22px;
      margin-top: 5px;
      height: auto;
      word-wrap: break-word;
    }
  }
  .passed-detail {
    .info-item-tip {
      min-width: 70px;
      width: auto !important;
    }
  }
}

// * 详情
@mixin Detail-Info {
  .detail-info-box{
    display: flex;
    flex-direction: row;
    justify-content: left;
    flex-wrap: wrap;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    .info-item:not(.info-item-100) {
      flex: 50%;
    }
    .info-item:nth-of-type(odd){
      .info-item-txt{
        margin-right: 10px;
      }
    }
    .info-item-100{
      flex: 100%;
    }
    .info-item{
      display: flex;
      flex-direction: row;
      text-align: left;
      font-size: 14px;
      color: #636363;
      padding-bottom: 21px;
    }
    .info-item-tip{
      flex: none;
    }
    .info-item-txt{
      flex: 1;
    }

  }
}


@mixin resRadioGroupBox {
  .radio-group-box {
    .el-radio__input.is-checked + .el-radio__label {
      color: $main-color;
    }
    .el-radio__input.is-checked .el-radio__inner {
      border-color: $main-color;
      background: $main-color;
    }
    .el-radio__inner:hover {
      border-color: $main-color;
    }
    .el-radio__input.is-disabled.is-checked .el-radio__inner::after {
      background-color: #fff !important;
    }
  }
}

